<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>我的</title>
    <meta name="viewport" content="initial-scale=1, maximum-scale=1">
    <link rel="shortcut icon" href="/favicon.ico">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta http-equiv="Access-Control-Allow-Origin" content="*" />

    <link rel="stylesheet" href="./css/sm.min.css">
    <link rel="stylesheet" href="./css/sm-extend.min.css">
   <link href="../css/flickerplate.css"  type="text/css" rel="stylesheet">
   <link href="./css/zukeKongjian.css" rel="stylesheet">
   <script src="../js/jquery-2.1.1.js"></script>
   <link rel="stylesheet" href="http://g.alicdn.com/msui/sm/0.6.2/css/sm.min.css">
	<link rel="stylesheet" type="text/css" href="../css/style.css"/>
	<link rel="stylesheet" type="text/css" href="../css/weui/example.css">
	<link rel="stylesheet" type="text/css" href="../css/weui/weui.css" />
	<script type="text/javascript" src="../js/bootstrap-3.3.5-dist/js/bootstrap.min.js"></script>
	<script type="text/javascript" src="../js/common.js"></script>
   <script src="../js/min/modernizr-custom-v2.7.1.min.js" type="text/javascript"></script>
   <script src="../js/min/hammer-v2.0.3.min.js" type="text/javascript"></script>
   <script src="../js/min/flickerplate.min.js" type="text/javascript"></script>
   <script src="http://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
<!--    <script src="./js/home.js"></script> -->
   <script src="./js/zukeKongjian.js"></script>
   <script src="./js/zepto.js"></script>
	<script src="./js/sm.js" ></script>
	<script src="./js/Common.js" ></script>
	<script src="./js/sm-extend.js" ></script>
	<script src="js/pointlog.js"></script>
	<script src="http://pv.sohu.com/cityjson?ie=utf-8"></script>
  </head>
  
  <body>
<!-- 	  <header class="bar bar-nav"> -->
<!-- 	    <h1 class="title">租客服务</h1> -->
<!-- 	  </header> -->
     <nav class="bar bar-tab">
    <a class="tab-item "  onclick="zukeKongjian.toLinkNoLogin('home.html',this)">
      <span class="icon icon-home"></span>
      <span class="tab-label">首页</span>
    </a>
    <a class="tab-item"  onclick="zukeKongjian.toLinkNoLogin('lanjuZhengzu.html?type=2',this)"  >
      <span class="icon icon-card"></span>
      <span class="tab-label">租房</span>
    </a>
    <a class="tab-item"  onclick="zukeKongjian.toLinkNoLogin('service/servicePackage.html?serviceType=1',this)">
      <span class="icon icon-menu"></span>
      <span class="tab-label">服务</span>
    </a>
    <a class="tab-item active" onclick="zukeKongjian.toLinkNoLogin('zukeKongjian.html',this)">
      <span class="icon icon-friends"></span>
      <span class="tab-label">我的</span>
    </a>
  </nav>
  <div class="content">
 <div class="toubu">
   <!--  <a><img src="../images/shezhi.png" style="width: 25px;float: right;margin: 10px 10px 10px 0px;" ></a> -->
    <ul>
    <li><img src="../images/touxiang.png" style="width: 60px;height: 58px;" id="headimg" > </li>
    <li><span id="name"><a href="./login.html">请登录</a></span></li>
<!--     <li><span>基本信息</span><span>保洁卡余额</span></li> -->
    </ul>

    </div>
    
    <div class="danju">
    <p class="biaoti">我的信息</p>
    <ul class="danju_list">
    <li>
  <a onclick="zukeKongjian.toLink('UseBaseInfo.html',this)">
   <img src="../images/zukeKongjian/base.png"/>
   <em>基础信息</em>
  </a>
 </li><li>
  <a onclick="zukeKongjian.toLink('cleanCard.html',this)">
   <img src="../images/zukeKongjian/coupon.png"/>
   <em>保洁卡</em>
  </a>
 </li>
 <li>
  <a onclick="zukeKongjian.toLink('authentication.html',this)">
   <img src="../images/idcard.png"/>
   <em>身份证</em>
  </a>
 </li>
 <li id="homelist" style="display: none" class="fangdong">
  <a onclick="zukeKongjian.toLink('homelist.html',this)">
   <img src="../images/homelist.png"/>
   <em>我的房子</em>
  </a>
 </li>
    </ul>
    </div> 
    
    <div class="danju" style="margin-top:40px;">
    <p class="biaoti">我的单据</p>
    <ul class="danju_list">
    <li>
  <a onclick="zukeKongjian.toLink('yanfangdanList_user.html',this)">
   <img src="../images/zukeKongjian/yanfang.png"/>
   <em>验房单</em>
  </a>
 </li><li>
  <a onclick="zukeKongjian.toLink('zukejiaojiedanList.html',this)">
   <img src="../images/zukeKongjian/jiaojie.png"/>
   <em>交接单</em>
  </a>
 </li><li>
  <a onclick="zukeKongjian.toLink('hetongList.html',this)">
   <img src="../images/zukeKongjian/hetong.png"/>
   <em>合同单</em>
  </a>
 </li><li>
  <a onclick="zukeKongjian.toLink('zukeService/deposit.html',this)">
   <img src="../images/zukeKongjian/yajin.png"/>
   <em>押金单</em>
  </a>
 </li>
    </ul>
    </div> 

    <div class="list-block" id="myfoot" style="display: none">
  <p class="biaoti">我的足迹</p>
    <ul style="width: 100%;margin: 0 auto;background: #F3F3F3;">
      <li class="item-content item-link" onclick="zukeKongjian.toLink('zukeService/myAppoint.html',this)">
        <div class="item-media"><i class="icon icon-f7"></i></div>
        <div class="item-media"><!-- <img src="../images/zukeKongjian/shuifei.png" style="width: 25px;height: 25px"> --></div>
        <div class="item-inner" id="myAppoint">
          <div class="item-title" >约看</div>
        </div>
      </li>
      <li class="item-content item-link" onclick="zukeKongjian.toLink('zukeService/myCollect.html',this)">
        <div class="item-media"><i class="icon icon-f7"></i></div>
        <div class="item-media"><!-- <img src="../images/zukeKongjian/dianfei.png" style="width: 25px;height: 25px"> --></div>
        <div class="item-inner" id="myColect">
          <div class="item-title" >收藏</div>
        </div>
      </li>
    </ul>
  </div>
  
   <div class="list-block" >
    <ul style="width: 100%;margin: 0 auto;background: #F3F3F3;"> 
      <li class="item-content item-link" onclick="zukeKongjian.toLink('myGuanJiaList.html?status=1',this)">
        <div class="item-media"><i class="icon icon-f7"></i></div>
        <div class="item-media"><img src="../images/zukeFuwu/guanjia.png" style="width: 20px;height: 20px"></div>
        <div class="item-inner" >
          <div class="item-title" >我的管家</div>
        </div>
      </li>
      <li class="item-content item-link fangdong" onclick="zukeKongjian.toLink('houseCertiList.html?status=1',this)" style="display: none">
        <div class="item-media"><i class="icon icon-f7"></i></div>
        <div class="item-media"><img src="../images/certificate.png" style="width: 20px;height: 20px"></div>
        <div class="item-inner" >
          <div class="item-title" >证件管理</div>
        </div>
      </li>
      <li class="item-content item-link fangdong" onclick="zukeKongjian.toLink('zukeList.html?status=1',this)" style="display: none">
        <div class="item-media"><i class="icon icon-f7"></i></div>
        <div class="item-media"><img src="../images/zuke.png" style="width: 20px;height: 20px"></div>
        <div class="item-inner" >
          <div class="item-title" >我的租客</div>
        </div>
      </li>
      <li class="item-content item-link" onclick="zukeKongjian.toLink('yezhuService/suggest.html',this)">
        <div class="item-media"><i class="icon icon-f7"></i></div>
        <div class="item-media"><img src="../images/zukeFuwu/tousu.png" style="width: 20px;height: 20px"></div>
        <div class="item-inner">
          <div class="item-title" >投诉提交</div>
        </div>
      </li>
<!--       <li class="item-content item-link" onclick="zukeKongjian.toLink('yezhuService/recommend.html',this)"> -->
<!--         <div class="item-media"><i class="icon icon-f7"></i></div> -->
<!--         <div class="item-media"><img src="../images/zukeFuwu/jieshao.png" style="width: 20px;height: 20px"></div> -->
<!--         <div class="item-inner"> -->
<!--           <div class="item-title" >推荐</div> -->
<!--         </div> -->
<!--       </li> -->
      <li class="item-content item-link" onclick="zukeKongjian.toLink('service/serviceList.html?serviceType=1',this)">
        <div class="item-media"><i class="icon icon-f7"></i></div>
        <div class="item-media"><img src="../images/service_search.png" style="width: 20px;height: 20px"></div>
        <div class="item-inner">
          <div class="item-title" >服务查询</div>
        </div>
      </li>
      <li class="item-content item-link" onclick="zukeKongjian.toLink('weituoInline.html',this)">
        <div class="item-media"><i class="icon icon-f7"></i></div>
        <div class="item-media"><img src="../images/weituo.png" style="width: 20px;height: 20px"></div>
        <div class="item-inner">
          <div class="item-title" >在线委托</div>
        </div>
      </li>
      <li class="item-content item-link" onclick="zukeKongjian.tologin()" id="auth" style="display: none">
        <div class="item-media"><i class="icon icon-f7"></i></div>
        <div class="item-media"><img src="../images/zukeFuwu/auth.png" style="width: 20px;height: 20px"></div>
        <div class="item-inner">
          <div class="item-title" >绑定微信</div>
        </div>
      </li>
    </ul>
  </div>
   <p  id="loginout" style="display: none"><a href="#" class="button button-big button-round" style="border: 1px solid red; color: red" onclick="zukeKongjian.loginout()">退出登录</a></p>
</div>
<jsp:include page="./footer.jsp"></jsp:include>
<script type="text/javascript">
window.$$=window.Zepto = Zepto;
zukeKongjian.getUserInfo();
var args=ponitLog.getWindowsParam();
</script>
<script type="text/javascript">
     var nonce="";//生成签名的随机串
     var signature="";//签名
     var timestamp="";//时间戳
     var title="蓝居管家--我的";
     var desc="蓝居管家服务中心，可查看我的信息与服务";
     var sharLink="http://lanjushiye.com.cn/LanJuPublic/jsp/zukeKongjian.html";
     var imgUrl="http://lanjushiye.com.cn/LanJuPublic/images/lanju.jpg";
     $(document).ready(function(){  
      	  var url = encodeURI(location.href.split('#')[0]);
       	  $.ajax({
       	         url: "../weixinImpl/getEncryptJsapiTicket.spring?rn="+(new Date().getTime()),
       	         type: "POST",
       	         data:{"url":url},
       	         dataType: "json",
       	         success: function(data){
       	        	 if(data != null){
       	        		 nonce=data.nonce;
       		             signature=data.signature;
       		             timestamp=data.timestamp;
       		             loadWx();
       	        	 }
       	             
       	          },
       	          error:function(err){
       	            console.log('异常');
       	          }
       	        });
//    	  var mySwiper = new Swiper('.swiper-container', {
// 		    speed: 400,
// 		    spaceBetween: 100
// 		});
// 	  $(".swiper-container").swiper(mySwiper);
//     	 if(!common.getCookie("tab1")){
//     		  $("#prize").show();
//     	 }
    	document.cookie="tab1="+true;
         var w_height = $(window).height();
         $('.menu').css('height',w_height);
         $('.menu,.b_mark').css('display','block');
         $('.menu .menu_con').stop().animate({ right: '0' }, 300);
         $('.menu .b_mark').click(function(){
             $('.menu .menu_con').stop().animate({ right: '-70%' }, 300);
             setTimeout(function(){
                 $('.menu,.b_mark').fadeOut('fast');
             },250);
         });
   });
     
     function loadWx(){
   	  wx.config({
   		    debug: false, // 开启调试模式,调用的所有api的返回值会在客户端alert出来，若要查看传入的参数，可以在pc端打开，参数信息会通过log打出，仅在pc端时才会打印。
   		    appId: 'wxb3b7beee9190b2ef', // 必填，公众号的唯一标识wxd894029b9bdb4b67
   		    timestamp: timestamp, // 必填，生成签名的时间戳
   		    nonceStr: nonce, // 必填，生成签名的随机串
   		    signature: signature,// 必填，签名
   		    jsApiList: ['onMenuShareTimeline','onMenuShareAppMessage','onMenuShareQQ'] // 必填，需要使用的JS接口列表
   		});
   	  wx.ready(function(){
   		  //分享到朋友圈
   		  wx.onMenuShareTimeline({
   			    title: title, // 分享标题
   			    link: sharLink, // 分享链接，该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
   			    imgUrl: imgUrl, // 分享图标
   			    desc: desc, // 分享描述
   			    success: function () {
   			    // 用户确认分享后执行的回调函数
   				},
   			cancel: function () {
   			    // 用户取消分享后执行的回调函数
   		    }
   		});
   		  //分享到朋友
   		  wx.onMenuShareAppMessage({
   			  title: title, // 分享标题
   			  desc: desc, // 分享描述
   			  link: sharLink, // 分享链接，该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
   			  imgUrl: imgUrl, // 分享图标
   			  type: 'link', // 分享类型,music、video或link，不填默认为link
   			  dataUrl: '', // 如果type是music或video，则要提供数据链接，默认为空
   			  success: function () {
   			  // 用户确认分享后执行的回调函数
   			  },
   			  cancel: function () {
   			  // 用户取消分享后执行的回调函数
   			  }
   			  });
   		  //分享到QQ
   		  wx.onMenuShareQQ({
   			  title: title, // 分享标题
   			  desc: desc, // 分享描述
   			  link: sharLink, // 分享链接
   			  imgUrl: imgUrl, // 分享图标
   			  success: function () {
   			  // 用户确认分享后执行的回调函数
   			  },
   			  cancel: function () {
   			  // 用户取消分享后执行的回调函数
   			  }
   			  });
   	  });
   	  
   	  wx.error(function(res){
   		
   	  });
   	  
   }
     $(function(){
 		window.$$=window.Zepto = Zepto;
//  		$('.flicker-example').flickerplate({
//            auto_flick 				: true,
//            auto_flick_delay 		: 8,
//            flick_animation 		: 'transform-slide'
//        });

 	});
  </script>
  </body>
</html>